package com.bitcola.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *  @author wx
 * @create 2019-03-20 10:59
 **/
@Data
@Table(name = "ag_admin_v1.cola_banner")
public class ColaAppBanner {

    @Id
    String id;

    /**
     * 图片地址
     */
    @Column(name = "banner")
    String banner;
    /**
     * 跳转链接
     */
    @Column(name = "url")

    String url;
    /**
     * 语言
     */
    @Column(name = "language")

    String language;
    /**
     * 排序
     */
    @Column(name = "index")

    Integer index;
    /**
     * 类型：网页，app
     */
    @Column(name = "type")

    String type;
}
